/*
 * @Description: Description
 * @Author: wning
 * @Date: 2022-12-01 16:22:31
 * @LastEditors: Andy
 * @LastEditTime: 2023-02-15 10:19:26
 */
import i18n from '@/common/lang'

export const columns = [
  {
    label: i18n.t('maintain.logOper.title'),
    width: 140,
    prop: 'title',
    fixed: true
  },
  {
    label: i18n.t('maintain.logOper.module'),
    width: 120,
    prop: 'module',
    fixed: true
  },
  {
    label: i18n.t('maintain.logOper.type'),
    width: 120,
    prop: 'type'
  },
  {
    label: i18n.t('maintain.logOper.method'),
    width: 120,
    prop: 'method'
  },
  {
    label: i18n.t('maintain.logOper.requestUri'),
    width: 180,
    prop: 'requestUri'
  },
  {
    label: i18n.t('maintain.logOper.remoteIp'),
    width: 160,
    prop: 'remoteIp'
  },
  {
    label: i18n.t('maintain.logOper.params'),
    width: 180,
    prop: 'params'
  },
  {
    label: i18n.t('maintain.logOper.createName'),
    width: 120,
    prop: 'createName'
  },
  {
    label: i18n.t('maintain.logOper.createTime'),
    width: 'auto',
    prop: 'createTime',
    minWidth: 160
  }
]
export const actions = [
  {
    key: 'detail',
    text: i18n.t('common.detail')
  }
]
